package com.zhentao.tot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * APP用户信息对象 ap_user
 * 
 * @author ruoyi
 * @date 2025-04-18
 */
public class ApUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 密码、通信等加密盐 */
    @Excel(name = "密码、通信等加密盐")
    private String salt;

    /** 用户名 */
    @Excel(name = "用户名")
    private String name;

    /** 密码，md5加密 */
    @Excel(name = "密码，md5加密")
    private String password;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 头像 */
    @Excel(name = "头像")
    private String image;

    /** 性别0 男 1女 2未知 */
    @Excel(name = "性别0 男 1女 2未知")
    private Integer sex;

    /** 是否认证0 未 1是 */
    @Excel(name = "是否认证0 未 1是")
    private Integer isCertification;

    /** 是否身份认证 */
    @Excel(name = "是否身份认证")
    private Integer isIdentityAuthentication;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setSalt(String salt) 
    {
        this.salt = salt;
    }

    public String getSalt() 
    {
        return salt;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }

    public void setIsCertification(Integer isCertification) 
    {
        this.isCertification = isCertification;
    }

    public Integer getIsCertification() 
    {
        return isCertification;
    }

    public void setIsIdentityAuthentication(Integer isIdentityAuthentication) 
    {
        this.isIdentityAuthentication = isIdentityAuthentication;
    }

    public Integer getIsIdentityAuthentication() 
    {
        return isIdentityAuthentication;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("salt", getSalt())
            .append("name", getName())
            .append("password", getPassword())
            .append("phone", getPhone())
            .append("image", getImage())
            .append("sex", getSex())
            .append("isCertification", getIsCertification())
            .append("isIdentityAuthentication", getIsIdentityAuthentication())
            .toString();
    }
}
